﻿<UserControl x:Class="Kiosk.UserControls.NotificationPresenter"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:uc="clr-namespace:Kiosk.UserControls"
    Height="400" Width="600" Background="Transparent">
    <Grid Margin="40" >
        <Grid.Background>
            <ImageBrush ImageSource="images\presentationBG.png" Stretch="Fill" />
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="51*" />
            <RowDefinition Height="308*" />
            <RowDefinition Height="40.998*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="36*" />
            <ColumnDefinition Width="526*" />
            <ColumnDefinition Width="38*" />
        </Grid.ColumnDefinitions>
        <Grid  Grid.Row="1" Grid.Column="1" >
            <Grid.RowDefinitions>
                <RowDefinition Height="103*" />
                <RowDefinition Height="157.323*" />
                <RowDefinition Height="48.011*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="1*" />
                <ColumnDefinition Width="1.5*" />
            </Grid.ColumnDefinitions>
            <StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="0">
                <TextBlock Name="txtTitle" FontSize="20" FontWeight="Bold"  Text="{Binding Path=Title}"></TextBlock>
                <TextBlock Name="txtDate" FontSize="15" Text="{Binding Path=NotificationDate}"></TextBlock>
                <TextBlock Name="txtLocation" FontSize="15" Text="{Binding Path=LocationName}" />
                <TextBlock Name="txtCreator" FontSize="15" Text="{Binding Path=Employee.FullName}" />
                <TextBlock Name="txtPhone" FontSize="15" Text="{Binding Path=Employee.OfficePhone}" />
            </StackPanel>
            <TextBlock Grid.Row="1" Grid.Column="0" ScrollViewer.CanContentScroll="True" TextWrapping="Wrap" Name="txtDescription" Height="Auto" Width="Auto"  Text="{Binding Path=Description}"></TextBlock>
                <uc:MapPresenter x:Name="map" Grid.RowSpan="2" Grid.Column="1"  StartPoint="163,322" EndPoint="450,30"  Height="Auto" Width="Auto" >
                </uc:MapPresenter>

            <Grid Grid.ColumnSpan="2" Grid.Row="2"  >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="1*" />
                    <ColumnDefinition Width="1*" />
                    <ColumnDefinition Width="1*" />
                    <ColumnDefinition Width="1*" />
                </Grid.ColumnDefinitions>
                <uc:ucImageButton Grid.Column="0" x:Name="btnEmail" Height="Auto" Width="Auto" ButtonImage="images\emailBTN.png" ButtonGlow="images\emailGlowBTN.png" MouseUp="btnEmail_MouseUp"/>
                <uc:ucImageButton Grid.Column="1" x:Name="btnText" Height="Auto" Width="Auto" ButtonImage="images\textBTN.png" ButtonGlow="images\textGlowBTN.png" MouseUp="btnText_MouseUp"/>
                <uc:ucImageButton Grid.Column="2" x:Name="btnCall" Height="Auto" Width="Auto" ButtonImage="images\callBTN.png" ButtonGlow="images\callGlowBTN.png" MouseUp="btnCall_MouseUp"/>
                <uc:ucImageButton Grid.Column="3" x:Name="btnClose" Height="Auto" Width="Auto" ButtonImage="images\closeBTN.png" ButtonGlow="images\closeGlowBTN.png" MouseUp="btnClose_MouseUp"/>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
